package com.example.edu.tips;

import java.util.Arrays;

public class Node {

    /** 形成一个链 */
    public Node[] slot = new Node[52];

    /** 字母 */
    public char c;

    /** 数量 */
    public int count;

    /** 前缀 */
    public int prefix;

    /** 单词 */
    public String word;

    /** 单词解释 */
    public String explain;

    @Override
    public String toString() {
        return "Node{" +
                "slot=" + Arrays.toString(slot) +
                ", c=" + c +
                ", count=" + count +
                ", prefix=" + prefix +
                ", word='" + word + '\'' +
                ", explain='" + explain + '\'' +
                '}';
    }
}
